package com.tsy.server.system.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "项目查询视图对象")
public class ProjectQueryVO {

    @ApiModelProperty(value = "项目名称", example = "无人机巡检项目")
    private String name;

    @ApiModelProperty(value = "项目状态", example = "1")
    private Integer status;

    @ApiModelProperty(value = "是否允许加入", example = "1")
    private Integer joinAble;

    @ApiModelProperty(value = "加入码", example = "ABCD1234")
    private String joinCode;

    /**
     * 是否已加入
     * 0: 未加入
     * 1: 已加入
     * 2: 已创建
     */
//    @ApiModelProperty(value = "是否已加入", example = "1")
//    private Integer joined;

    /**
     * 创建时间排序
     * 0：升序
     * 1：降序
     */
    @ApiModelProperty(value = "创建时间排序", example = "1")
    private Integer createTimeSort;
}